textview: give pixelcache access to style context
authorChristian Hergert <christian@hergert.me>
Tue, 8 Sep 2015 22:36:07 +0000 (15:36 -0700)
committerChristian Hergert <christian@hergert.me>
Sun, 13 Sep 2015 20:41:19 +0000 (13:41 -0700)
commita3605bc5573253bfbb1e16ca762ce7bcc8700c02
tree0ce8a33957c1f8eb9104eca13d6c7d2502ceef4f
parent7c1ce9f3adabee70de886c6d32333650c691e97c
textview: give pixelcache access to style context

This changes textview to share the style context with the pixelcache.
Doing so allows pixel cache to optimize the surface creation and use
a CAIRO_CONTENT_COLOR instead of CAIRO_CONTENT_COLOR_ALPHA when
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=754658
gtk/gtktextview.c